<!--
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 * No deletion without permission, or be held responsible to law.
 * @author XPF
-->
<template>
  <div>
    <BasicModal v-bind="$attrs" @register="registerModal">
      <template #title>
        <span> {{ getTitle.value }} </span>
      </template>
      <BasicForm @register="registerForm" />
    </BasicModal>
  </div>
</template>
<script lang="ts">
  export default defineComponent({
    name: 'ViewSysAuthority',
  });
</script>
<script lang="ts" setup>
  import { defineComponent, ref, computed } from 'vue';
  import { useI18n } from '/@/hooks/web/useI18n';
  //   import { useMessage } from '/@/hooks/web/useMessage';
  import { router } from '/@/router';
  import { BasicModal, useModalInner } from '/@/components/Modal';
  import { useMessage } from '/@/hooks/web/useMessage';
  const { showMessage } = useMessage();
  const [registerModal, { closeModal, setModalProps }] = useModalInner(async (data) => {
    setModalProps({ loading: true });
    console.log(data);
    setModalProps({ loading: false });
  });
</script>
